import com.gongjian.database.DatabaseFactory;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

import java.io.IOException;

/**
 * @author 董浩
 * @Description
 * @create 2019-03-20 20:27
 */
public class test {

    @Test
    public  void t(){
        try {
            SqlSession sqlSession= DatabaseFactory.getSqlSession();
            System.out.println(sqlSession.selectList("findAllUser").size());
            System.out.println(sqlSession.selectList("findAllUser2").size());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
